-- GENERATED SPELL FOR [Gorishi Hive Queen] --


function spell0_10041(pUnit, Event) --@Silithid Pox,n/a--
pUnit:FullCastSpellOnTarget(8137,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10041', 2000, 1)
end

function Sorts_10041(pUnit, Event)
local choix_sorts_10041 = math.random(0, 0)
if choix_sorts_10041 == 0 then
pUnit:RegisterEvent('spell0_10041', 1, 1)
end
end

function mob10041_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10041', math.random(1500, 3000), 1)
end

function mob10041_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10041_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10041_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10041, 1, 'mob10041_Action')
RegisterUnitEvent(10041, 2, 'mob10041_Leave')
RegisterUnitEvent(10041, 3, 'mob10041_Kill')
RegisterUnitEvent(10041, 4, 'mob10041_Die')
